package com.wct.permission.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author WEI (Email:changtan20000@163.com)
 * @description
 * @date 2020/2/3 21:05
 */
@RequestMapping()
@Controller
public class MainController {

    @ResponseBody
    @RequestMapping("/hello")
    public String hello() {
        return "Hello";
    }

    @ResponseBody
    @RequestMapping("/")
    public String index() {
        return "/index.jsp";
    }
}
